package com.ymatou.iapi.settlement.parameter;

import java.math.BigDecimal;
import java.util.Date;

public class AdRateInfoPo {
	/**
	* Id INTEGER(10) 必填<br>
	* 
	*/
	private Integer id;

	/**
	 * OrderId INTEGER(10) 必填<br>
	 * 
	 */
	private Long orderId;

	/**
	 * AdId VARCHAR(100) 必填<br>
	 * 
	 */
	private Integer adId;

	/**
	 * AdCostId VARCHAR(100) 必填<br>
	 * 
	 */
	private String adCostId;

	/**
	 * AdRate DECIMAL(18,4)<br>
	 * 
	 */
	private BigDecimal adRate;

	/**
	 * AdPerCostMax DECIMAL(18,2)<br>
	 * 
	 */
	private BigDecimal adPerCostMax;

	/**
	 * OrderInfoId VARCHAR(36)<br>
	 * 
	 */
	private String orderInfoId;

	/**
	 * ProductId VARCHAR(36)<br>
	 * 
	 */
	private String productId;

	/**
	 * CatalogId VARCHAR(36)<br>
	 * 
	 */
	private String catalogId;

	/**
	 * ProductCount INTEGER(10) 必填<br>
	 * 
	 */
	private Integer productCount;

	/**
	 * ProductPrice DECIMAL(18,2)<br>
	 * 
	 */
	private BigDecimal productPrice;

	/**
	 * CostAmount DECIMAL(18,2)<br>
	 * 
	 */
	private BigDecimal costAmount;

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 * 
	 */
	private Date addTime;

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())] 必填<br>
	 * 
	 */
	private Date updateTime;

	/**
	 * RelatedCancelId INTEGER(10)<br>
	 * 
	 */
	private Long relatedCancelId;
	
	private Boolean noNeedSettle;

	/**
	 * Id INTEGER(10) 必填<br>
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * Id INTEGER(10) 必填<br>
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * OrderId INTEGER(10) 必填<br>
	 */
	public Long getOrderId() {
		return orderId;
	}

	/**
	 * OrderId INTEGER(10) 必填<br>
	 */
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	/**
	 * AdId VARCHAR(100) 必填<br>
	 */
	public Integer getAdId() {
		return adId;
	}

	/**
	* AdId INTEGER(10) 必填<br>
	*/
	public void setAdId(Integer adId) {
		this.adId = adId;
	}

	/**
	 * AdRate DECIMAL(18,2)<br>
	 */
	public BigDecimal getAdRate() {
		return adRate;
	}

	/**
	 * AdRate DECIMAL(18,2)<br>
	 */
	public void setAdRate(BigDecimal adRate) {
		this.adRate = adRate;
	}

	/**
	 * AdPerCostMax DECIMAL(18,2)<br>
	 */
	public BigDecimal getAdPerCostMax() {
		return adPerCostMax;
	}

	/**
	 * AdPerCostMax DECIMAL(18,2)<br>
	 */
	public void setAdPerCostMax(BigDecimal adPerCostMax) {
		this.adPerCostMax = adPerCostMax;
	}

	/**
	 * OrderInfoId VARCHAR(36)<br>
	 */
	public String getOrderInfoId() {
		return orderInfoId;
	}

	/**
	 * OrderInfoId VARCHAR(36)<br>
	 */
	public void setOrderInfoId(String orderInfoId) {
		this.orderInfoId = orderInfoId == null ? null : orderInfoId.trim();
	}

	/**
	 * ProductId VARCHAR(36)<br>
	 */
	public String getProductId() {
		return productId;
	}

	/**
	 * ProductId VARCHAR(36)<br>
	 */
	public void setProductId(String productId) {
		this.productId = productId == null ? null : productId.trim();
	}

	/**
	 * CatalogId VARCHAR(36)<br>
	 */
	public String getCatalogId() {
		return catalogId;
	}

	/**
	 * CatalogId VARCHAR(36)<br>
	 */
	public void setCatalogId(String catalogId) {
		this.catalogId = catalogId == null ? null : catalogId.trim();
	}

	/**
	 * ProductCount INTEGER(10) 必填<br>
	 */
	public Integer getProductCount() {
		return productCount;
	}

	/**
	 * ProductCount INTEGER(10) 必填<br>
	 */
	public void setProductCount(Integer productCount) {
		this.productCount = productCount;
	}

	/**
	 * ProductPrice DECIMAL(18,2)<br>
	 */
	public BigDecimal getProductPrice() {
		return productPrice;
	}

	/**
	 * ProductPrice DECIMAL(18,2)<br>
	 */
	public void setProductPrice(BigDecimal productPrice) {
		this.productPrice = productPrice;
	}

	/**
	 * CostAmount DECIMAL(18,2)<br>
	 */
	public BigDecimal getCostAmount() {
		return costAmount;
	}

	/**
	 * CostAmount DECIMAL(18,2)<br>
	 */
	public void setCostAmount(BigDecimal costAmount) {
		this.costAmount = costAmount;
	}

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 */
	public Date getAddTime() {
		return addTime;
	}

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 */
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())] 必填<br>
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())] 必填<br>
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getAdCostId() {
		return adCostId;
	}

	public void setAdCostId(String adCostId) {
		this.adCostId = adCostId;
	}

	public Long getRelatedCancelId() {
		return relatedCancelId;
	}

	public void setRelatedCancelId(Long relatedCancelId) {
		this.relatedCancelId = relatedCancelId;
	}

	public Boolean getNoNeedSettle() {
		return noNeedSettle;
	}

	public void setNoNeedSettle(Boolean noNeedSettle) {
		this.noNeedSettle = noNeedSettle;
	}
}
